package com.example.yichuangyun.utils;

public class StringUtils {
    //截取字符串中某个字符之前或之后的字符串
    public static String getSubStringBefore(String str, String tag) {
        return str.substring(0, str.indexOf(tag));
    }
}
